﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SingleUserMall.Stores.Form
{
    /// <summary>
    /// 店铺
    /// </summary>
    [AutoMapTo(typeof(Store))]
    public class StoreForm:EntityDto
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        public string Picture { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        [MaxLength(200)]
        public string Discription { get; set; }
        /// <summary>
        /// 认证类型
        /// </summary>
        [StringLength(50)]
        public string AuthType { get; set; }
        /// <summary>
        /// 相关证件
        /// </summary>
        public string CertImages { get; set; }
        /// <summary>
        /// 经营范围
        /// </summary>
        public long? BusinessScopeId { get; set; }
        /// <summary>
        /// 店铺经营地址
        /// </summary>
        public string StoreAddress { get; set; }

        /// <summary>
        /// 客户电话
        /// </summary>
        public string CustomerServicePhone { get; set; }

        /// <summary>
        /// 是否非法
        /// </summary>
        public bool isInvalid { get; set; }
    }
}
